package com.alm.token.ui.data.bean;

import com.alm.token.base.BaseAdapter;

import java.util.List;

/**
 * Created by en on 2019/1/4.
 */

public class StakingOrderHistoryData {


    /**
     * msg : 操作成功
     * status : 0
     * data : {"list":[{"moneyType":1,"moneyTypeStr":"ETH","icon":"","statusStr":"排队中","orderSn":"MO201908131057031974","orderLevel":3,"createTime":"2019-08-13","startDay":0,"orderName":"5000$","status":2}]}
     * success : true
     * timestamp : 1566200276750
     * total : null
     */

    private String msg;
    private int status;
    private DataBean data;
    private boolean success;
    private long timestamp;
    private Object total;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public static class DataBean {
        private List<ListBean> list;

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean extends BaseAdapter.BaseItem {
            /**
             * moneyType : 1
             * moneyTypeStr : ETH
             * icon :
             * statusStr : 排队中
             * orderSn : MO201908131057031974
             * orderLevel : 3
             * createTime : 2019-08-13
             * startDay : 0
             * orderName : 5000$
             * status : 2
             */

            private int moneyType;
            private String moneyTypeStr;
            private String icon;
            private String statusStr;
            private String orderSn;
            private int orderLevel;
            private String createTime;
            private int startDay;
            private String orderName;
            private int status;
            /**
             * date : 2019-08-21
             * money : 0.0043
             * moneyTypeName : meth
             * channelTypeName :
             * moneyTypeIcon : https://api.iotoken.net/static/images/eth.png
             */

            private String date;
            private double money;
            private String moneyTypeName;
            private String channelTypeName;
            private String moneyTypeIcon;


            public int getMoneyType() {
                return moneyType;
            }

            public void setMoneyType(int moneyType) {
                this.moneyType = moneyType;
            }

            public String getMoneyTypeStr() {
                return moneyTypeStr;
            }

            public void setMoneyTypeStr(String moneyTypeStr) {
                this.moneyTypeStr = moneyTypeStr;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public String getStatusStr() {
                return statusStr;
            }

            public void setStatusStr(String statusStr) {
                this.statusStr = statusStr;
            }

            public String getOrderSn() {
                return orderSn;
            }

            public void setOrderSn(String orderSn) {
                this.orderSn = orderSn;
            }

            public int getOrderLevel() {
                return orderLevel;
            }

            public void setOrderLevel(int orderLevel) {
                this.orderLevel = orderLevel;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public int getStartDay() {
                return startDay;
            }

            public void setStartDay(int startDay) {
                this.startDay = startDay;
            }

            public String getOrderName() {
                return orderName;
            }

            public void setOrderName(String orderName) {
                this.orderName = orderName;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public double getMoney() {
                return money;
            }

            public void setMoney(double money) {
                this.money = money;
            }

            public String getMoneyTypeName() {
                return moneyTypeName;
            }

            public void setMoneyTypeName(String moneyTypeName) {
                this.moneyTypeName = moneyTypeName;
            }

            public String getChannelTypeName() {
                return channelTypeName;
            }

            public void setChannelTypeName(String channelTypeName) {
                this.channelTypeName = channelTypeName;
            }

            public String getMoneyTypeIcon() {
                return moneyTypeIcon;
            }

            public void setMoneyTypeIcon(String moneyTypeIcon) {
                this.moneyTypeIcon = moneyTypeIcon;
            }
        }
    }
}
